package TwoArray.reflect;

import java.io.Serializable;

/**
 * @author feng
 * @Date 2021/6/21 21:56
 */
public class ReflectTest03 {
    public static void main(String[] args) {
        int[] a = new int[10];
        int[] b = new int[100];
        Class class1 = a.getClass();
        Class class2 = b.getClass();
        // 只要元素类型和维度一样，就是同一个Class
        System.out.println(class1 == class2);
        Class class3 = Override.class;
        System.out.println("class3=" + class3);
        //
        Class class4 = void.class;
        System.out.println("class4=" + class4);
        System.out.println("=========");
        Class class5 = Serializable.class;
        System.out.println("class5=" + class5);



    }
}
